/**
 * 
 */
package featureautomate.structure;

import de.ovgu.featureide.fm.core.io.velvet.VelvetParser.boolAttribute_return;

/**
 * @author D.Abdelali
 *
 */
public class Event {

	private String name;
	private boolean reset = false;
	
	
	/**
	 * @param name
	 */
	public Event(String name) {
		this.name = name;
	}
	
	
	/**
	 * @param name
	 * @param reset
	 */
	public Event(String name, boolean reset) {

		this.name = name;
		this.reset = reset;
	}


	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the reset
	 */
	public boolean isReset() {
		return reset;
	}
	/**
	 * @param reset the reset to set
	 */
	public void setReset(boolean reset) {
		this.reset = reset;
	}
	
	public Event clone(){
		return new Event(name,reset);
	}
	
	
}
